//package com.baiku.sanhos.mapper.search;
//
//import com.baiku.sanhos.pojo.vo.DrugVo;
//import org.springframework.data.elasticsearch.annotations.Query;
//import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
//import org.springframework.stereotype.Repository;
//
//import java.util.List;
//
///**
// * @author ruoLi
// * 需要开启ElasticSearch服务
// */
////@Repository
//public interface DrugSearchRepository extends ElasticsearchRepository<DrugVo, Integer> {
//
//    @Query("{\"bool\": {\"should\": [{\"match\": {\"remark\": \"?0\"}},{\"match\": {\"drugName\": \"?0\"}}]}}")
//    List<DrugVo> searchByKeyword(String remark);
//}
